From: Anthony PERARD Date: Mon, 13 Oct 2014 14:31:36 +0000 (+0100) Subject: tools/hotplug: Removing of "all" dependency from "install" rule. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~4201 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=e47df5f77bf50c50db6d7901a913003d4e8aa421;p=xen.git tools/hotplug: Removing of "all" dependency from "install" rule. The "install" rules depends on both "all" and "subdirs-install" and "all" depends on "subdirs-all". This leads the "install" rules to call both "subdirs-all" and "subdirs-install" which create a race with two concurrent `make` within the same directory (systemd) trying to make the same things (xen.conf) and failing. Ultimatly, "install" should only depend on the things it needs to install, and not on "all". Signed-off-by: Anthony PERARD Tested-by: Olaf Hering Acked-by: Ian Jackson Acked-by: Ian Campbell --- diff --git a/tools/hotplug/FreeBSD/Makefile b/tools/hotplug/FreeBSD/Makefile index 169a124c39..6aba64a3ae 100644 --- a/tools/hotplug/FreeBSD/Makefile +++ b/tools/hotplug/FreeBSD/Makefile @@ -15,7 +15,7 @@ all: build: .PHONY: install -install: all install-scripts install-rcd +install: install-scripts install-rcd .PHONY: install-scripts install-scripts: diff --git a/tools/hotplug/Linux/Makefile b/tools/hotplug/Linux/Makefile index 8cdaa9a35b..1706c058dd 100644 --- a/tools/hotplug/Linux/Makefile +++ b/tools/hotplug/Linux/Makefile @@ -43,7 +43,7 @@ all: subdirs-all build: .PHONY: install -install: all install-initd install-scripts install-udev subdirs-install +install: install-initd install-scripts install-udev subdirs-install # See docs/misc/distro_mapping.txt for INITD_DIR location .PHONY: install-initd diff --git a/tools/hotplug/NetBSD/Makefile b/tools/hotplug/NetBSD/Makefile index 908485939f..0a370b85f5 100644 --- a/tools/hotplug/NetBSD/Makefile +++ b/tools/hotplug/NetBSD/Makefile @@ -17,7 +17,7 @@ all: build: .PHONY: install -install: all install-scripts install-rcd +install: install-scripts install-rcd .PHONY: install-scripts install-scripts: diff --git a/tools/hotplug/common/Makefile b/tools/hotplug/common/Makefile index 657a8e309c..5623abb23c 100644 --- a/tools/hotplug/common/Makefile +++ b/tools/hotplug/common/Makefile @@ -19,7 +19,7 @@ all: build build: $(HOTPLUGPATH) .PHONY: install -install: all install-scripts +install: install-scripts .PHONY: install-scripts install-scripts: build